package in.blogspot.khurram2java;

public class BookData {
	private int id;
	private String isbn;
    private String title;
    private String author;
    private String publishing;
    
    public BookData(int id,String isbn,String title,String author,String publishing){
    	this.id = id;
    	this.isbn = isbn;
    	this.title = title;
    	this.author = author;
    	this.publishing = publishing;
    }
    
    public BookData(){
    	
    	this.id = 0;
    	this.isbn = "";
    	this.title = "";
    	this.author = "";
    	this.publishing = "";
    }
    
    public int setId(int id){
    	return this.id = id;
    }
    
    public String setIsbn(String isbn){
    	return this.isbn = isbn;
    }
    
    public String setTitle(String title){
    	return this.title = title;
    }
    
    public String setAuthor(String author){
    	return this.author = author;
    }

    public String setPublishing(String publishing){
    	return this.publishing = publishing;
    }
       
    
    public int getId(){
    	return this.id;
    }
    
    public String getIsbn(){
    	return this.isbn;
    }
    
    public String getTitle(){
    	return this.title;
    }
    
    public String getAuthor(){
    	return this.author;
    }

    public String getPublishing(){
    	return this.publishing;
    }

	public Object subSequence(int i, int textlength) {
		// TODO Auto-generated method stub
		return null;
	}


}
